package com.example.ccj.b.c.ui.install;

import java.util.List;

public class InstallSelect extends InstallItem{
    public InstallSelect(String installName){
        this.installName = installName;
    }

    public InstallSelect(String installName,String beginText,int beginId){
        this.installName = installName;
        this.beginText = beginText;
        this.beginId = beginId;
    }

    public InstallSelect(String installName,String beginText,int beginId,SelectOnClickListener select){
        this.installName = installName;
        this.beginText = beginText;
        this.beginId = beginId;
        this.select = select;
    }


    private SelectOnClickListener select;//点击选择回调
    private String beginText;//初始文字
    private int beginId;//初始选择编号

    private List<?> optionList;

    public List<?> getOptionList() {
        return optionList;
    }

    public void setOptionList(List<?> optionList) {
        this.optionList = optionList;
    }

    @Override
    public int getType() {
        return TYPE_SELECT;
    }


    public SelectOnClickListener getSelect() {
        return select;
    }

    public void setSelect(SelectOnClickListener select) {
        this.select = select;
    }

    public String getBeginText() {
        return beginText;
    }

    public void setBeginText(String beginText) {
        this.beginText = beginText;
    }

    public int getBeginId() {
        return beginId;
    }

    public void setBeginId(int beginId) {
        this.beginId = beginId;
    }
}
